<template>
	<el-form-item class="login_input" prop="password">
		<el-input
			placeholder="请输入密码"
			v-model="pass"
			show-password
			prefix-icon=" iconfont icon-3702mima"
		></el-input>
	</el-form-item>
</template>

<script>
export default {
	name: 'Password',
	props: ['password'],
	computed: {
		pass: {
			get() {
				return this.password
			},
			set(value) {
				this.$bus.$emit('password', value)
			},
		},
	},
}
</script>

<style scoped>
.login_input {
	box-sizing: border-box;
	padding: 0 20px;
}
.el-input {
	width: 100%;

	box-sizing: border-box;
}
</style>
>
